package com.example.anliku.service.serviceImpl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.example.anliku.entity.TeamMember;
import com.example.anliku.mapper.TeamMemberMapper;
import com.example.anliku.service.TeamMemberService;
@Service
public class TeamMemberServiceImpl implements TeamMemberService{

    @Resource
    private TeamMemberMapper teamMemberMapper;

    @Override
    public int deleteByPrimaryKey(Integer teamMemberId) {
        return teamMemberMapper.deleteByPrimaryKey(teamMemberId);
    }

    @Override
    public int insert(TeamMember record) {
        return teamMemberMapper.insert(record);
    }

    @Override
    public int insertSelective(TeamMember record) {
        return teamMemberMapper.insertSelective(record);
    }

    @Override
    public TeamMember selectByPrimaryKey(Integer teamMemberId) {
        return teamMemberMapper.selectByPrimaryKey(teamMemberId);
    }

    @Override
    public int updateByPrimaryKeySelective(TeamMember record) {
        return teamMemberMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TeamMember record) {
        return teamMemberMapper.updateByPrimaryKey(record);
    }

}
